import java.util.Scanner;
//给你一个字符串 s ，将该字符串中的大写字母转换成相同的小写字母，返回新的字符串。
public class StringText1 {
    public static char[] invert(String s) {
        char[] arr = new char[s.length()];
        for (int i = 0; i <s.length() ; i++) {
            arr[i] = s.charAt(i);
            if(arr[i]>='A' && arr[i]<='Z') {
                arr[i] = (char) (arr[i] + 32);
            }
        }
        return arr;
    }
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String s;
        int i = 0 ;
        while(true){
            s = scanner.nextLine();
            char[] s1 = invert(s);
            for ( i = 0; i < s.length(); i++) {
                System.out.println(s1[i]);
            }
        }
    }
}
